home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS25.ADF / 8ColorWB / WBench8.DOC < prev    next >
Text File  |  1989-01-26  |  9KB  |  180 lines

  1.  
  2.    ********************************************************
  3.    *                                                      *
  4.    *     The EIGHT color WorkBench Screen Modification    *
  5.    *                  by David M. Pochron                 *
  6.    *                                                      *
  7.    ********************************************************
  8.  
  9.    Have you ever wanted more colors on the WorkBench screen? This
  10. modification will let you have just that. By modifying the KickStart 1.2
  11. disk it is possible to increase the # of bitplanes in a standard WorkBench
  12. screen. Here is what you will need that is not included in this ARC file:
  13.  
  14.    A kickstart 1.2 disk (sorry Amiga 500 & 2000 owners - maybe someday I'll
  15. figure out how to get it to work with KS in ROM)
  16.    A disk sector editor (such as DiskX or DiskED)
  17.  
  18. Some items you MAY want to get the full potential of this mod:
  19.  
  20.    A utility to convert Dpaint brushes to icons (Like ZapIcon) or an icon
  21. editor that will edit 8-color icons! (You'll probably want to create your
  22. own 8-color icons someday...)
  23.    A program that let's you change the screen colors on the Workbench
  24. screen. (POPCOLORS is what I used)
  25.  
  26.  
  27. Here is what is included in this arc file:
  28.  
  29.    These instructions. (duh!)
  30.    A DISK icon         [DISK.INF]
  31.    A RAMDISK icon      [RAMDISK.INF]
  32.    A DRAWER icon       [DRAWER.INF]
  33.    A TRASHCAN icon     [TRASHCAN.INF]
  34.    A PROJECT icon      [PROJECT.INF]
  35.    A CLI icon (a tool) [CLI.INF]
  36.    A TOOL icon [TOOL.INF] (it's an extra - use it with Prefs. or something)
  37.  
  38.    An batch file which will rename the .info files from .inf to .info (arc
  39. v.2.2 only allows 11 character filenames!)  [EXECUTE.ME]
  40.    A basic program which will convert any icon of some type (ie: garbage,
  41. tool, etc.) to any other type [CHNGICON.BAS]
  42.    A program that sets the color registers 4-7 [SETCOLOR]
  43.    A program that saves the current values in color registers 4-7 [SAVCOLOR]
  44.    A color palette data file [COLORS.DAT] for registers 4-7. This must be
  45. renamed to COLOR.PALETTE to work with the SETCOLOR program.
  46.  
  47. Procedure
  48. ---------
  49.    First of all, get the names of those above icons changed by typing from a
  50. CLI: EXECUTE EXECUTE.ME and if all goes well, the icons should have their
  51. names changed to what need to be to show up on the workbench screen!
  52.    Next - MAKE SURE YOU HAVE A BACKUP OF KICKSTART! You really don't want to
  53. chance messing up your only copy of it!
  54.    Okay, now down to the nitty gritty...Boot up your favorite disk sector
  55. editor (a file editor won't work with kickstart) and go to sector 247
  56. (decimal). The byte that first must be changed is at $6F, and the value that
  57. SHOULD be there is a 02. If a 02 isn't there, look around for a 02 preceded
  58. by four $FF's and a 00.
  59.    Now, change the value of 02 to 03 and you have just made workbench with 8
  60. colors! However, there is a catch: Kickstart has a checksum value that is
  61. checked whenever CTRL-Amiga-Amiga is pressed. If that checksum value doesn't
  62. match the checksum of the KS disk, it will do a cold-start and ask for KS
  63. again. So we must also fix the checksum...
  64.    Go to sector 512. At byte offset $1E8, you will find the checksum value.
  65. This value consists of four bytes. Change the four bytes there to:
  66.       $56 $F2 $E2 $A5
  67.    Unless you have made previous changes to your kickstart disk, this should
  68. fix it. To test it, reboot completely using the modified kickstart disk.
  69. Insert a Workbench 1.2 disk when it asks for it. If the cursor is white
  70. during the startup-sequence, chances are that you have an 8-color workbench.
  71. You will be able to find out for sure if the icons in this arc file show up
  72. with 8 colors. There is one more test that needs to be performed - the
  73. checksum value test. Press CTRL-amiga-amiga. If the computer asks for
  74. Workbench, then everything is okay. If it asks for kickstart, then you
  75. either made a mistake entering the new checksum value or there are other
  76. mods to your kickstart disk. The only thing I can tell you now is to get
  77. ahold of a public domain program called SUMKICK, which will read the entire
  78. kickstart disk and create the checksum value for you.
  79.    In any case, that's all there is to the actual modification. What follows
  80. is an explanation of the three programs included with this arc file.
  81.  
  82. SETCOLOR
  83.    Now that your workbench screen has 8 colors, you'll want to be able to
  84. set the extra colors. (Preferences only can set colors 0-3) This program
  85. looks for a file called COLOR.PALETTE. COLOR.PALETTE contains the RGB values
  86. for the extra color registers. SETCOLOR should be copied to the C:
  87. directory of your WorkBench disk and then you should modify the
  88. Startup-Sequence to include the command SETCOLOR. The program will look for
  89. the file COLOR.PALETTE in the current directory. (The root directory if used
  90. in a startup-sequence.) Note that this program can only be used if there is
  91. ONE screen currently up. If you are running a graphics demo, paint program,
  92. etc. which opens up a new screen, this program will set the colors for that
  93. other screen! All other screens except the Workbench screen must be closed
  94. for this program to work.
  95.  
  96. SAVCOLOR
  97.    You may not like the colors I chose for color registers 4-7. This program
  98. reads the values currently in those registers and saves them to disk as the
  99. file COLOR.PALETTE. Changing the values for those colors however can not be
  100. done unless you have a program such as POPCOLORS which allows you to set the
  101. color registers for a screen at any time. Also, if you have more than one
  102. screen open at once, SAVCOLOR will save the colors from the other screen,
  103. and not the Workbench screen! This has one advantage, as you can boot up
  104. Dpaint II with WorkBench ON to create icons and it will grab
  105. those colors from the Dpaint II screen! (No need then to figure out what
  106. colors got used in the icons!)
  107.  
  108. CHNGICON.BAS
  109.    If you are making your own icons from IFF brushes, chances are that the
  110. converter program does not allow you to convert to any type of icon.
  111. ZAPICON, for instance, only creates TOOLS when converting. This program will
  112. let you change from anything to anything.
  113.    First you will be asked for the name of the icon to change. Enter the
  114. name (without .info added) of the icon you have just converted. Next you
  115. will be asked for a data icon. This data icon serves as the "template" for
  116. your custom icon. The image from your own icon is zapped onto this template
  117. and the icon is saved under the name of your custom icon. (Not under the
  118. name of the data icon!) So if you wanted to change a tool icon into a disk,
  119. you would use a disk icon as the template.
  120.  
  121.  
  122. A few caveats...
  123. ----------------
  124.    Okay, you would probably like to know if there is anything BAD about
  125. making these changes - Well, there are a few things...
  126.  
  127. 1) You can't have backfilled 3-bitplane icons. Don't ask me why this doesn't
  128. work. Even if the backfill bit is set, the rectangular area around the icon
  129. stays. Note that backfill still works if the icon is only two bitplanes.
  130. (yes - you can have 2 bitplane icons on a three bitplane screen! Nice, eh?)
  131. 2) Some "strange" icons look funny. The icon for NEWZAP! gets some garbage
  132. on the 3rd bitplane for some reason. The easiest way to fix this is to
  133. create a new icon for it!
  134. 3) The CLI windows scroll a little slower. Use a font speedup program to fix
  135. this problem.
  136. 4) Although all of your old 2-bitplane icons still work fine, (a very
  137. flexible OS - nice) the "animated" 2-bitplane icons don't "blit" with the
  138. mouse when you drag them around. 3-bitplane animated icons work just fine,
  139. however.
  140.  
  141.    That's it - aside from the fact that you can't use ICONED to create
  142. 3-bitplane icons. (Though you can still create the standard 2-plane icons
  143. with no problems.)  To my surprise, if you convert a 3-bitplane IFF brush
  144. (using ZAPICON or BRUSH2ICON) it will be converted to a 3-bitplane icon! 
  145. Also, you can merge two 3-plane icons together with ICONMERGE and create an
  146. animated 3-plane icon with no problems either!
  147.    Remember that SETCOLOR only sets the extra color registers - use
  148. Preferences to set registers 0-3. The values that registers 0-3 SHOULD be
  149. set to so my icons look proper are:
  150.    Register  R  G  B
  151.    -----------------
  152.    00        00 00 00
  153.    01        15 15 15
  154.    02        00 00 12
  155.    03        12 00 00
  156.  
  157. For reference purposes, here are the values for 4-7 in the COLOR.PALETTE
  158. file:
  159.  
  160.    04        08 08 08
  161.    05        12 12 12
  162.    06        00 10 00
  163.    07        15 12 00
  164.  
  165.    I suggest you try these out - the icons look real impressive with
  166. those colors!
  167.  
  168.  
  169. Conclusion:
  170. -----------
  171.    With similar changes to this one, you could make the workbench screen
  172. into anything you want. You could easily change the 03 to an 04 an have a
  173. 4-bitplane workbench screen! (Though the slowdown may be too great to live
  174. with..) How about a HAM mode workbench screen with REAL digitized icons???
  175. Hopefully, I'll have time to work on such projects.
  176. Anyhow, enjoy the new WorkBench!
  177.                                               - DMP -
  178.  
  179.  
  180.